package com.mall.promo.converter;

import com.mall.promo.dto.PromoProductDetailDTO;
import com.mall.shopping.dto.ProductDetailDto;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.springframework.stereotype.Component;

/**
 * @auther CaiHL
 * @date 2020-11-23 22:54
 * @DESCRIPTION
 */
@Component
@Mapper(componentModel = "spring")
public interface ItemConverter {

    @Mappings({})
    PromoProductDetailDTO itemDTO2PromoDTO(ProductDetailDto productDetailDto);
}
